POV-Ray : Newsgroups : povray.general : Infinite object question : Re: Infinite object question Server Time
19 Nov 2024 07:24:20 EST (-0500)
  Re: Infinite object question  
From:
Date: 2 Apr 2002 17:01:20
Message: <f1akau43uc8teqpiq8pcch83k4s23rjkui@4ax.com>
On Tue, 2 Apr 2002 23:50:35 +0200, "JRG" <jrg### [at] hotmailcom> wrote:
> >   An inverted box is infinite.
>
> No, it's not.

it is

> At least not from POV-Ray's point of view (just try).

ok, try inverse box - it is hole in everything

// begin scene
box{-1 1 translate z*10 inverse}
// end scene

Warning: Camera is _inside_ a non-hollow object.
And put camera anywhere to test where box will finish.
But You can be mistaken by:

// begin scene
#include "strings"
#local B=box{-1 1 translate z*10 inverse}
#warning VStr(min_extent(B))
#warning VStr(max_extent(B))
// end scene

but min/max_extent returns coordinates of _bounding box_ which isn't object but
speed trick - as documentation says: "the bounding box does not represent the
actual dimensions of the object".

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.